package uuid;

import java.util.UUID;

public class TestUUId {
	public static void main(String[] args) {  
        for (int i = 0; i < 100; i++) {  
        	UUID realuuid = UUID.randomUUID();  
            //注意replaceAll前面的是正则表达式  
            String uuid = UUID.randomUUID().toString().replaceAll("-",""); 
           /* System.out.println(realuuid); 
            System.out.println(realuuid.toString()); 
            System.out.println(uuid);  
            System.out.println(uuid.length());  */
            System.out.println(Lookup3Hash.toID(realuuid.toString()));  
            
        }  
    }  
}
